package com.quick;

import org.springframework.beans.factory.annotation.Value;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RestController;

/**
 * @ClassName TestController
 * @Description TODO
 * @Author wangxin43
 * @Date 2018/7/25 上午11:31
 * @Version 1.0
 **/
@RestController
@RequestMapping("/test")
public class TestController {
	@Value("${my.test}")
	private  String test;

	@RequestMapping("/test")
	public String test(){
		return test;
	}
}
